<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%String baseUrl = "http://10fenke.com/rps/src/";String dataUrl = "10fenke.com/rps";%>
<script>
	var BCConfig = {
		url: "<%=baseUrl%>",
		jsonUrl: "http://<%=dataUrl%>",
		wsUrl: "ws://<%=dataUrl%>/ws1",
		wsUrl1: "ws://<%=dataUrl%>/ws2",
	};
</script>
<script src="js/tool/jquery.2.1.1.min.js"></script>
<script src="js/tool/bootstrap.min.js"></script>
<script src="js/tool/MD5.js"></script>
<script src="js/tool/web3.min.js?t=<%=new java.util.Date().getTime()%>"></script>
<script src="js/tool/truffle-contract.js?t=<%=new java.util.Date().getTime()%>"></script>
<script src="layer/layer.js?t=<%=new java.util.Date().getTime()%>"></script>
<script src="js/tool/sha3.js?t=<%=new java.util.Date().getTime()%>"></script>

<script src="js/bc_tool/bc_notify.js?t=<%=new java.util.Date().getTime()%>"></script>
<script src="js/bc_tool/blockChian.js"></script>
<script src="js/bc_tool/bcWebSocket.js?t=<%=new java.util.Date().getTime()%>"></script>
<script src="js/bc/alertView.js?t=<%=new java.util.Date().getTime()%>"></script>

<link href="css/flex.css?t=<%=new java.util.Date().getTime()%>" rel="stylesheet">
<script>
	layer.config({
		extend: 'myskin/style.css', //加载您的扩展样式
		skin: 'layer-ext-myskin'
	});
	var APPTool = {};
	
	APPTool.loadCssCode = function(code) {
		var style = document.createElement('style');
		style.type = 'text/css';
		style.rel = 'stylesheet';
		//for Chrome Firefox Opera Safari
		style.appendChild(document.createTextNode(code));
		//for IE
		//style.styleSheet.cssText = code;
		var head = document.getElementsByTagName('head')[0];
		head.appendChild(style);
	}
	//loadCssCode('body{background-color:#f00}');
</script>